<template>
  <view class="fun-flex-col page">
    <!-- <view class="fun-self-start group_2"></view> -->
    <text class="fun-self-start text_2">DEMO</text>
    <view class="fun-flex-col fun-self-stretch group_3">
      <view class="fun-flex-row fun-items-center section">
        <image class="image_4" src="../../static/367e210a1cf834ee8d02678a90590516.png" />
        <input class="font ml-13" placeholder="Enter your username" type='text'/>
      </view>
      <view class="fun-mt-16 fun-flex-row fun-items-center section">
        <image class="image_4" src="../../static/a5e77af976fece10452434c16ee2ab15.png" />
        <input class="font ml-13" type='password' placeholder="Enter your password"/>
      </view>
      <view class="fun-mt-16 fun-flex-row fun-justify-between fun-items-center section_2">
        <input class="font text_4" type="text" placeholder="Enter the verification code"/>
        <image class="image_5" src="../../static/f925f15acc9e02a6f411d3b05051746a.png" />
      </view>
    </view>
    <view class="fun-flex-col fun-self-stretch group_4">
      <view class="fun-flex-col fun-justify-start fun-items-center fun-self-stretch text-wrapper">
        <text class="font_2 text_5" @click="signIn">Sign in</text>
      </view>
      <text class="fun-mt-20 fun-self-center font_2 text_6" @click="signUp">Sign up</text>
    </view>
    <text class="fun-self-center font_2 text_7" @click="retrieve">Retrieve password</text>
  </view>
</template>

<script>
  export default {
    components: {},
    props: {},
    data() {
      return {};
    },

    methods: {
		signUp(){
			uni.navigateTo({
				url:'/pages/login/signUp',
				nimationType: 'pop-in',
				animationDuration: 200
				
			})
		},
		retrieve(){
			uni.navigateTo({url:'/pages/login/retrieveWord'})
		},
		signIn(){
			uni.switchTab({url:'/pages/home/index'})
		}
	},
  };
</script>

<style scoped lang="scss">
  .ml-5 {
    margin-left: 10rpx;
  }
  .ml-13 {
    margin-left: 26rpx;
  }
  .page {
    padding: 0 32rpx;
    background-color: #00033b;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    .group {
      padding-left: 36rpx;
      .text {
        color: #ffffff;
        font-size: 30rpx;
        font-family: SF Pro Text;
        font-weight: 600;
        line-height: 22.18rpx;
      }
      .image {
        width: 34rpx;
        height: 22rpx;
      }
      .image_2 {
        width: 30rpx;
        height: 22rpx;
      }
      .image_3 {
        width: 48rpx;
        height: 22.66rpx;
      }
    }
    .group_2 {
      margin-left: 14rpx;
      margin-top: 204rpx;
      filter: blur(3.5rpx);
      width: 214rpx;
      height: 8rpx;
    }
    .text_2 {
      margin-left: 166rpx;
      margin-top: 172rpx;
      color: #ffffff33;
      font-size: 75.2rpx;
      font-family: Seymour One;
      line-height: 56.04rpx;
      background-image: linear-gradient(112.9deg, #f5798f 0.5%, #a544fa 50.1%, #80c1e6 99.6%);
      -webkit-background-clip: text;
    }
    .group_3 {
      margin-top: 120rpx;
      .section {
        padding: 30rpx 24rpx;
        background-color: #1b1d53;
        border-radius: 50rpx;
        .image_4 {
          width: 40rpx;
          height: 40rpx;
        }
      }
      .section_2 {
        padding-left: 44rpx;
        background-color: #1b1d53;
        border-radius: 50rpx;
        .text_4 {
          line-height: 20rpx;
        }
        .image_5 {
          border-radius: 50rpx;
          width: 232rpx;
          height: 100rpx;
        }
      }
      .font {
        font-size: 28rpx;
        font-family: SF Pro Display;
        line-height: 24.88rpx;
        font-weight: 300;
        color: #ffffff;
		width: 100%;
      }
    }
    .group_4 {
      margin-top: 194rpx;
      .text-wrapper {
        padding: 32rpx 0 24rpx;
        background-color: #5ceec4;
        border-radius: 44rpx;
        .text_5 {
          color: #000000;
          font-weight: 700;
          line-height: 30.02rpx;
        }
      }
      .text_6 {
        color: #ffffff;
      }
    }
    .font_2 {
      font-size: 32rpx;
      font-family: SF Pro Display;
      line-height: 29.04rpx;
    }
    .text_7 {
      margin-top: 140rpx;
      color: #5ceec4;
      line-height: 27.96rpx;
    }
  }
</style>